// 用户登录
export interface loginFormData {
  username: string
  password: string
}

// 定义共同属性类型
export interface ResponseData {
  code: number
  message: string
  ok: boolean
}

// 登录接口
export interface loginResponseeData extends ResponseData {
  data: string
}

// 用户信息
export interface userInfoResponseeData extends ResponseData {
  data: {
    routes: string[]
    buttons: string[]
    roles: string[]
    name: string
    avatar: string
  }
}
